#ifndef THINGY_H
#define THINGY_H

#include <QDialog>
#include "being.h"
#include <QSpinBox>
#include <QComboBox>

class Thingy : public QDialog
{
    Q_OBJECT
public:
    explicit Thingy(QWidget *parent = 0, Being *item = 0, int type = 0);

signals:

public slots:
    void dodaj();
    void usun();
    void anuluj();
private:
    Being *item;
    QSpinBox *speed,*minW,*spawnW,*weight;
    QComboBox *typeOf;
    QPushButton *rm,*ok,*cancel;
};

#endif // THINGY_H
